package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.MyEquipment;

/**
 * 车间设备Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public interface MyEquipmentMapper 
{
    /**
     * 查询车间设备
     * 
     * @param id 车间设备主键
     * @return 车间设备
     */
    public MyEquipment selectMyEquipmentById(Long id);

    /**
     * 查询车间设备列表
     * 
     * @param myEquipment 车间设备
     * @return 车间设备集合
     */
    public List<MyEquipment> selectMyEquipmentList(MyEquipment myEquipment);

    /**
     * 新增车间设备
     * 
     * @param myEquipment 车间设备
     * @return 结果
     */
    public int insertMyEquipment(MyEquipment myEquipment);

    /**
     * 修改车间设备
     * 
     * @param myEquipment 车间设备
     * @return 结果
     */
    public int updateMyEquipment(MyEquipment myEquipment);

    /**
     * 删除车间设备
     * 
     * @param id 车间设备主键
     * @return 结果
     */
    public int deleteMyEquipmentById(Long id);

    /**
     * 批量删除车间设备
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMyEquipmentByIds(Long[] ids);
}
